package com.zjdiepu.www.model.yw.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.GroupSequence;

import org.hibernate.validator.constraints.NotBlank;

import com.zjdiepu.www.base.annotation.Add;
import com.zjdiepu.www.base.annotation.Id;
import com.zjdiepu.www.base.annotation.Update;
import com.zjdiepu.www.base.core.ParentModel;

/**
 * 修改订单类型<br/>
 * @author xiongxiaotun<br/>
 * @time 2017年05月09日 09时29分<br/>
 * @since 1.0<br/>
 */
@ApiModel(value="ChangeChannelRequest", description="修改订单类型", parent = ParentModel.class)
@GroupSequence({Id.class, Add.class, Update.class, ChangeChannelRequest.class})
public class ChangeChannelRequest extends ParentModel {
	
	private static final long serialVersionUID = 1L;
	
	@ApiModelProperty(name="channelType",required=true,value="订单类型",example="订单类型")
	@NotBlank(message="订单类型{message.null}", groups = {Add.class, Update.class})
	private String channelType;
	
	@ApiModelProperty(name="channelTypeDisplay",required=true,value="订单类型",example="订单类型")
	private String channelTypeDisplay;
	
	@ApiModelProperty(name="ifPhone",required=false,value="是否电审",example="是否电审")
	private Boolean ifPhone;
	
	@ApiModelProperty(name="delearId",required=true,value="经销商ID",example="经销商ID")
	@NotBlank(message="订单类型{message.null}", groups = {Add.class, Update.class})
	private String dealerId;
	
	@ApiModelProperty(name="dealerName",required=true,value="经销商名称",example="经销商名称")
	private String dealerName;
	
	@ApiModelProperty(name="canChange",required=false,value="是否可以修改",example="false")
	private boolean canChange;
	
	@ApiModelProperty(name="status",required=false,value="是否已经登记",example="true")
	private boolean status;

	public String getChannelType() {
		return channelType;
	}

	public void setChannelType(String channelType) {
		this.channelType = channelType;
	}

	public String getChannelTypeDisplay() {
		return channelTypeDisplay;
	}

	public void setChannelTypeDisplay(String channelTypeDisplay) {
		this.channelTypeDisplay = channelTypeDisplay;
	}

	public Boolean getIfPhone() {
		return ifPhone;
	}

	public void setIfPhone(Boolean ifPhone) {
		this.ifPhone = ifPhone;
	}

	public String getDealerId() {
		return dealerId;
	}

	public void setDealerId(String dealerId) {
		this.dealerId = dealerId;
	}

	public String getDealerName() {
		return dealerName;
	}

	public void setDealerName(String dealerName) {
		this.dealerName = dealerName;
	}

	public boolean isCanChange() {
		return canChange;
	}

	public void setCanChange(boolean canChange) {
		this.canChange = canChange;
	}

	public boolean isStatus() {
		return status;
	}

	public void setStatus(boolean status) {
		this.status = status;
	}
	
}